package src;

public class Launcher {
	public static void main(String[] args){

	IAirport airport= new Airport();
	IFlight flight1=new Flight(25, 777);
	IFlight flight2= new Flight(47, 909);
	IFlight flight3=new Flight(36, 666);
	IPassenger pass=new Passenger("Vasilii Pupkin");
	IPassenger pass2=new Passenger("Anastasiya Kydina");
	IPassenger pass3=new Passenger("Arkadii Semenov");
	IPassenger pass4=new Passenger("Den Petrov");
	airport.addFlightInList(flight1);
	airport.addFlightInList(flight2);
	airport.addFlightInList(flight3);
	airport.addPassInList(909, pass4);
	airport.addPassInList(666, pass4);
	airport.addPassInList(777, pass2);
	airport.addPassInList(666, pass3);
	airport.addPassInList(777, pass);
	airport.markFlightCancelend(666);
	airport.markFlightLate(777);
	airport.removeFromPassInList(666,"Den Petrov");
	airport.printLIstOfFlights();
}
}
